Do not set junction sides to the entry frame in spinbuttons.
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 17 Jan 2011 02:58:45 +0000 (03:58 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 17 Jan 2011 03:43:52 +0000 (04:43 +0100)
That's meant to be the outer frame, so no junction sides apply there

gtk/gtkspinbutton.c

index 65b4e2ee355529c6dd66182a957c78a0717ace7a..5ba8036d470cda7876a0886dd9e3774642475d3c 100644 (file)
@@ -923,11 +923,6 @@ gtk_spin_button_draw (GtkWidget      *widget,
   context = gtk_widget_get_style_context (widget);
   gtk_style_context_save (context);
 
-  if (is_rtl)
-    gtk_style_context_set_junction_sides (context, GTK_JUNCTION_LEFT);
-  else
-    gtk_style_context_set_junction_sides (context, GTK_JUNCTION_RIGHT);
-
   GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->draw (widget, cr);
 
   gtk_style_context_restore (context);